import { Align, TableOptions } from '@/models/tableOptions'

export const tableOptions: TableOptions = {
  menu: true,
  align: Align.Left,
  cloumns: [
    {
      prop: 'id',
      label: 'ID',
      minWidth: 50
    },
    {
      prop: 'name',
      label: '名称',
      minWidth: 80
    },
    {
      prop: 'code',
      label: '标识',
      minWidth: 100
    },
    {
      prop: 'level',
      label: '层级',
      minWidth: 50,
      slot: true
    },
    {
      prop: 'description',
      label: '描述',
      minWidth: 120
    },
    {
      prop: 'createdTime',
      label: '创建时间',
      minWidth: 100
    }
  ]
}
